﻿<%@ Page Language="C#" MasterPageFile="~/Doanhnghiep/MasterPage.master" AutoEventWireup="true" CodeFile="danhsachdoanhnghiep.aspx.cs" Inherits="Doanhnghiep_danhsachdoanhnghiep" Title="Danh sách doanh nghiệp" %>

<%@ Register Assembly="ASPnetPagerV2_8" Namespace="ASPnetControls" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
<div style="padding:12px 12px 12px 12px;">
 <div>
       
        <div class="title">
            <span style="font-size: 18px; font-family: Tahoma">
            Danh Sách Doanh Nghiệp</span></div>
        <div style="width:100%;">
            <div style="display:table-cell; width:77%;float:left;">
                <span style="font-size: 8pt; font-family: Tahoma">Mã doanh nghiệp:</span><asp:TextBox ID="txt_madn" runat="server" Width="63px"></asp:TextBox>
                <span style="font-size: 8pt; font-family: Tahoma">Tên doanh nghiệp:</span><asp:TextBox ID="txt_tendn" runat="server" Width="122px"></asp:TextBox>
                <asp:Button ID="btn_Tim" runat="server" Text="Tìm kiếm" OnClick="btn_Search_Click" Width="120px" />           
            </div>
            <div class="addnewrow" style="display:table-cell; width:18%;float:right;">
                    <a href="themdoanhnghiepmoi.aspx"><span style="font-size: 8pt; font-family: Tahoma">
                        Thêm mới</span></a><span style="font-size: 8pt; font-family: Tahoma"> |</span>
                        <span style="font-size: 8pt; font-family: Tahoma">
                <asp:LinkButton ID="lbt_Xoa" runat="server" OnClick="lbt_Xoa_Click">Xóa</asp:LinkButton>
                    </span>
            </div>        
        </div>
        <div>
        <asp:Repeater ID="Repeater1" runat="server" OnItemDataBound="Repeater1_ItemDataBound">
            <HeaderTemplate>
            <span style="font-size: 8pt; font-family: Tahoma">
                <table cellspacing="1" cellpadding="3" width="100%" bgcolor="#cccccc" border="0">
                
                <thead>
                    <tr class="listtableheader">
                        <th>Mã dn</th>
                        <th>Tên dn</th>
                        <th>Địa chỉ</th>
                        <th>Số đt</th>
                        <th>Email</th>
                        <th>Mật khẩu</th>
                        <th>Tài khoản</th>
                        <th>Sửa</th>
                        <th>
                            <input id="cb_All" type="checkbox" onclick="CheckAll(1);" />
                            <a href="javascript:CheckAll(2)">Chọn hết</a>
                        </th>
                    </tr>
                </thead>
                <tbody>
                </span>
            </HeaderTemplate>
            <ItemTemplate>
              <tr>
                <td><%#Eval("madn") %></td>
                <td><asp:Literal ID="tendn" runat="server"/></td>
                <td><asp:Literal ID="diachi" runat="server"/></td>
                <td><asp:Literal ID="sdt" runat="server"/></td>                
                <td><asp:Literal ID="email" runat="server"/></td>
                <td><asp:Literal ID="matkhau" runat="server"/></td>
                <td><asp:Literal ID="taikhoan" runat="server"/></td>
                <td><asp:HyperLink ID="hpl_Edit" Text="Edit" runat="server" /></td>
                <td>
                    <asp:CheckBox ID="cb_Xoa" runat="server" />
                    <asp:HiddenField ID="hf_id" Value='<%#Eval("madn") %>' runat="server" />
                </td>
              </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody>
            </table>   
            </FooterTemplate>
        </asp:Repeater>  
        </div>
        <div style="width:100%;"> 
            <div style="float:left; width: 1008px; text-align: center; height: 48px;"> 
               
           </div>
            <span style="font-size: 8pt; font-family: Tahoma">
            <cc1:PagerV2_8 ID="Pager" runat="server" />
            </span>
        </div>
 </div>
 </div>
</asp:Content>

